/**
 * 
 */
package com.bitantenna.player;

import java.util.Observable;
import java.util.Observer;

public final class PlayerLogObserver implements Observer {
	private final Player player;

	public PlayerLogObserver(Player player) {
		this.player = player;
	}

	@Override
	public void update(Observable o,final Object arg) {
		/*SwingUtilities.invokeLater(new Runnable() {

			@Override
			public void run() {
				if (player.getArea_log().getText().length()>1000) {
					player.getArea_log().setText("");	
				}
				player.getArea_log().append(""+arg+"\n");				
			}});*/
	}
}